<template>
    <div class="content">
        <div class="content-box">
            <div class="login-box">
                <el-form label-width="80px" class="login-form">
                    <el-form-item label="用户名">
                        <el-input v-model="username" placeholder="请输入用户名"></el-input>
                    </el-form-item>
                    <el-form-item label="密码">
                        <el-input type="password" v-model="password" placeholder="请输入密码"></el-input>
                    </el-form-item>
                    <el-form-item>
                        <el-button type="primary" @click="login">登录</el-button>
                    </el-form-item>
                    <el-form-item>
                        <el-button type="text" @click="register">注册</el-button>
                    </el-form-item>
                </el-form>

            </div>
        </div>
    </div>



</template>
<script setup>

</script>
<style scoped>
.content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f2f5;

}

.content-box {
    width: 1000px;
    height: 600px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 20px;
}
</style>